MSVC builds: Allow different Python versions per toolset
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 31 Jul 2017 09:25:56 +0000 (17:25 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 31 Jul 2017 09:39:56 +0000 (17:39 +0800)
commit1eb8d2ad09412ac397c6039c56354f72f4996bad
treee5eca471f0f56bcf86c90b6d894fd0f02c8bb6cc
parent0eb7e71a89f49469eb1a55cef07375a0e60be148
MSVC builds: Allow different Python versions per toolset

Use conditionals to select the Python installation, so that we can stick
closer to the default Visual Studio versions used to compile each official
Python releases.

This means by default:
-2013 builds use Python 3.4.x, which is built with 2010
-2015 and 2017 builds use Python 3.6.x, which is built with 2015.

Also rename PythonPath/PythonPathX64 in the property sheets to
PythonDir/PythonDirX64 repsectively, as PythonPath is the envvar name
where additional Python modules is searched for, so we don't want to get
confused with it.

Last but not least, distinguish between the Python interpretors that are
used on x64 and x86/32-bit builds for generating the libgtk4.manifest
file and the gdbus-generated sources, for consistency reasons.
win32/vs12/gtk-4.vcxprojin
win32/vs12/gtk4-gen-srcs.props
win32/vs12/gtk4-install.propsin
win32/vs12/gtk4-version-paths.props.in